package com.yand.mapper.business.product;

import com.yand.api.entity.business.product.THfProductDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface THfProductDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(THfProductDetail record);

    int insertSelective(THfProductDetail record);

    THfProductDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(THfProductDetail record);

    int updateByPrimaryKey(THfProductDetail record);

    /**
     * 查询所有的产品明细信息
     * @param record
     * @return
     */
    List<THfProductDetail> selectAllProductList(THfProductDetail record);

    THfProductDetail selectProduct(THfProductDetail record);

}